/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.fx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 空港16区2期
 *
 * @author pig code generator
 * @date 2022-11-18 13:16:12
 */
@Data
@TableName("bigdata_house")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "空港16区2期")
public class BigdataHouse extends BaseEntity {

	/**
	 * 序号
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@Schema(description = "序号")
	private Long id;

	/**
	 * 认购日期
	 */
	@Schema(description = "认购日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime subscriptionDate;

	/**
	 * 签约日期
	 */
	@Schema(description = "签约日期")
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime dateSigning;

	/**
	 * 姓名
	 */
	@Schema(description = "姓名")
	private String name;

	/**
	 * 联系电话
	 */
	@Schema(description = "联系电话")
	private Integer phone;

	/**
	 * 栋号
	 */
	@Schema(description = "栋号")
	private String ridgepoleNumber;

	/**
	 * 房号
	 */
	@Schema(description = "房号")
	private Integer houseNumber;

	/**
	 * 建筑面积
	 */
	@Schema(description = "建筑面积")
	private BigDecimal floorArea;

	/**
	 * 套内面积
	 */
	@Schema(description = "套内面积")
	private BigDecimal insideSpace;

	/**
	 * 建筑单价
	 */
	@Schema(description = "建筑单价")
	private BigDecimal unitPriceConstruction;

	/**
	 * 总价
	 */
	@Schema(description = "总价")
	private BigDecimal totalPrice;

	/**
	 * 付款方式
	 */
	@Schema(description = "付款方式")
	private String paymentMethod;

	/**
	 * 优惠折扣
	 */
	@Schema(description = "优惠折扣")
	private String discount;

	/**
	 * 成交建面单
	 */
	@Schema(description = "成交建面单")
	private BigDecimal makeCoverSheet;

	/**
	 * 成交套内单
	 */
	@Schema(description = "成交套内单")
	private BigDecimal makeInnerSheet;

}
